package tianqi.service.login;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.ui.Model;

import tianqi.entity.UserY;
import tianqi.entity.Zfb;

public interface UserService {
	//校验登录
	public String chackLogin(String uname, String pwd, HttpServletRequest req, HttpServletResponse res,Model m);
	// 注册
	public String regist(String uname, String pwd,HttpServletRequest req,Model m);
	//根据用户ID查询用户
	public UserY findUserByUserId(UserY name);
	
	public String blur(String uname);

	public Zfb findmbByUserName(Zfb name);
	
	public Integer updateByMN(Zfb name);
	
	public Integer updateTxImg(UserY usery);
	
	public Integer updateMyPerson(UserY usery);
}
